package salesmenService

import "hc_server/routers/models"

type TeamMerchantSalesmen struct {
	Id            int
	Name          string
	Mobile        interface{}
	AgentId       string
	AgentRelation string

	PageNum  int
	PageSize int
	Keyword  string
}

// TeamMerchantSalesmenList 团队管理获取业务员列表
func (s *TeamMerchantSalesmen) TeamMerchantSalesmenList() (map[string]interface{}, error) {
	result, err := models.SalesmenMerchantSalesmenList(s.Id, s.PageNum, s.PageSize, s.Keyword)
	if err != nil {
		return nil, err
	}
	return result, nil
}
